{
  "properties" : { },
  "id" : "971dc083410847df9401643e6a2f419e",
  "script" : null,
  "groupId" : "ef7080c5480047f0b4b5d421f1f5e534",
  "name" : "次数字段",
  "createTime" : null,
  "updateTime" : 1668261081060,
  "lock" : null,
  "createBy" : null,
  "updateBy" : null,
  "path" : "/byusernameByfilename",
  "method" : "POST",
  "parameters" : [ ],
  "options" : [ ],
  "requestBody" : "",
  "headers" : [ ],
  "paths" : [ ],
  "responseBody" : null,
  "description" : null,
  "requestBodyDefinition" : null,
  "responseBodyDefinition" : null
}
================================
import log;
var sql = """
update file_download_number set download_number = #{num} where username = #{body.username} and 
file_name = #{body.fileName} and download_date = #{body.date}"""
return db.update(sql);